package de.gameduell.net.src.protocol {
	import de.gameduell.net.src.message.IMessage;

	/**
	 * @author GD
	 */
	public interface IProtocol {
		function init(serviceType:String, slotId:String, ticket:String):void;
		function createMessage(aRequestType:String, parameters:Array, id:int):IMessage;
//		function extractMessage(data:String):IMessage;
		function extractMessages(data:String):Array;
//		function extractSyncMessages(message:IMessage):Array;		
	}
}
